package com.arpa.wms.service;

import com.arpa.wms.domain.dto.PackingMaterialRecordDTO;
import com.arpa.wms.domain.entity.PackingMaterialRecord;
import com.arpa.wms.domain.vo.PackingMaterialRecordVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 包材记录 服务类
 * </p>
 *
 * @author rfwang
 * @since 2021-08-26
 */
public interface IPackingMaterialRecordService extends IService<PackingMaterialRecord> {

    /**
     * 查询列表
     *
     * @param packingMaterialRecordDTO
     * @return
     */
    List<PackingMaterialRecordVO> queryList(PackingMaterialRecordDTO packingMaterialRecordDTO);


    /**
     * 查询合计,包含总数
     *
     * @param packingMaterialRecordDTO
     * @return
     */
    PackingMaterialRecordVO queryListSum(PackingMaterialRecordDTO packingMaterialRecordDTO);

    /**
     * 保存
     * @param entity
     * @return
     */
    @Override
    boolean save(PackingMaterialRecord entity);

}
